
#pragma once

#include "tools/socket.h"
#include "UfPacket.h"
#include "UfServerNode.h"

#include <list>

class UftServer
{
public:
    UftServer();
    virtual ~UftServer();

    int start(int port);
    int stop();

private:
    tools::CSocket              mSock;
    std::list<UfServerNode*>    mClients;
    bool                        mServerRunning;
};

